package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.HotelAccount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotelAccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelAccount record);

    int insertSelective(HotelAccount record);

    HotelAccount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelAccount record);

    int updateByPrimaryKey(HotelAccount record);

    List<HotelAccount> selectByHotel(@Param("id") Integer id, @Param("state") Integer state);

    Integer  selectAllPrice(Integer applicationId);

    List<HotelAccount> findBookingListById(Integer id);
}